package net.wanho.shop.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author 猛虎王
 * @since 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Role对象", description = "角色表")
public class Role implements Serializable {

    // 默认序列化版本号
    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "权限ids,1,2,5")
    private String psIds;

    @ApiModelProperty(value = "控制器-操作,控制器-操作,控制器-操作")
    private String psCa;

    @ApiModelProperty(value = "角色介绍")
    private String roleDesc;

}
